﻿using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Text;

namespace Util
{
    public class AppSetting
    {
        public static IConfigurationSection configurationSection;

        public static string GetSection(string key)
        {
            string value = "";
            if (configurationSection.GetSection(key)!=null)
            {
                value = configurationSection.GetSection(key).Value;
            }
            return value;
        }
        public static void SetSection()
        {
            
        }
    }
}
